package animal;

// 鲸鱼类，继承自动物类
public class Whale extends Animal {
    public Whale(String breed, int age) {
        super(breed, age);
    }

    @Override
    public void eat() {
        System.out.println("鲸鱼正在吃浮游生物");
    }
}
